<?php
/**
 * Created by JetBrains PhpStorm.
 * User: zhouyang
 * Date: 13-9-15
 * Time: 下午4:31
 * To change this template use File | Settings | File Templates.
 */
class AdsModel extends Model{
    //获取推广列表
    /**
     * @param $type_id
     * @param null $num 获取条数
     * @return mixed
     */
    public function getAdListByType($ad_type_id, $num = NULL){
        return $this->dbreader()->getAdListByType($ad_type_id, $num);
    }
}